package com.sondon.dev_soceket.model;

/**
 * @Project : 硬件通讯
 * @Package : com.sondon.model
 * @Class : Entity_Byte.java
 * @Company 广州讯动网络科技有限公司
 * @Author : 蔡文锋
 * @DateTime：2015年4月3日 上午9:15:35
 * @Blog：http://blog.csdn.net/caiwenfeng_for_23
 * @Description : {
 * 
4A 79 //包开始标志HEAD
00 00 //包流号 PACKNO

00 00 00 00 // 源地址SADR   保留
00 00 00 00 // 目标地址DADR    保留
00 00 00 00 // 端口 PORT     保留
00 00 //包信息 FLAG    保留
 
05 0A // 指令字CMD
4E 00 // 数据长度 LEN

// 数据 DATA
00 00 04 00 07 60 00 03 61 30 30 30 30 30 30 30 30 30 30 30 30 00 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0C 60 00 00 61 C9 E8 B1 B8 
C3 FB B3 C6 3A 53 45 44 36 34 35 30 4D 20 20 B0 E6 B1 BE 3A 56 31 2E 30 30 
2E 30 30 

70 96 // 数据的CRC16值
 *              }
 */
public class Entity_Byte {
	byte[] HEAD;
	byte[] PACKNO;
	byte[] SADR;
	byte[] DADR;
	byte[] PORT;
	byte[] FLAG;
	byte[] CMD;
	byte[] LEN;
	byte[] DATA;
	byte[] CRC16;
	
	public byte[] getHEAD() {
		return HEAD;
	}
	public void setHEAD(byte[] hEAD) {
		HEAD = hEAD;
	}
	public byte[] getPACKNO() {
		return PACKNO;
	}
	public void setPACKNO(byte[] pACKNO) {
		PACKNO = pACKNO;
	}
	public byte[] getSADR() {
		return SADR;
	}
	public void setSADR(byte[] sADR) {
		SADR = sADR;
	}
	public byte[] getDADR() {
		return DADR;
	}
	public void setDADR(byte[] dADR) {
		DADR = dADR;
	}
	public byte[] getPORT() {
		return PORT;
	}
	public void setPORT(byte[] pORT) {
		PORT = pORT;
	}
	public byte[] getFLAG() {
		return FLAG;
	}
	public void setFLAG(byte[] fLAG) {
		FLAG = fLAG;
	}
	public byte[] getCMD() {
		return CMD;
	}
	public void setCMD(byte[] cMD) {
		CMD = cMD;
	}
	public byte[] getLEN() {
		return LEN;
	}
	public void setLEN(byte[] lEN) {
		LEN = lEN;
	}
	public byte[] getDATA() {
		return DATA;
	}
	public void setDATA(byte[] dATA) {
		DATA = dATA;
	}
	public byte[] getCRC16() {
		return CRC16;
	}
	public void setCRC16(byte[] cRC16) {
		CRC16 = cRC16;
	}

	

}
